package com.aaron.registry;

import com.aaron.extension.SPI;

import java.net.InetSocketAddress;

// 服务注册，注册信息为服务名，服务地址
@SPI
public interface ServiceRegistry {

    void registerService(String rpcServiceName, InetSocketAddress inetSocketAddress);

}
